#include "main.h"

void APPL_Delay_ns(uint16_t time)               
{
	while(time--); 
} 

void APPL_Delay_us(uint16_t time)
{  
	while(time--) APPL_Delay_ns(8);/*1us*/
}
	
/*	    毫秒级延时函数	*/
void APPL_Delay(uint16_t time)               
{
 while(time--) APPL_Delay_us(100);
} 

//wangtao
#if 0
u8 G_u8_Run_MC33771_Cnt = 0;


void APPL_BMS_EE_RUN(void)
{
	if(G_u8_Run_MC33771_Cnt > 0)
	{
		ECU_EEPROM_RUN();
		G_u8_Run_MC33771_Cnt --;
	}
	else
	{
		APPL_Delay_us(10);
	}
}
void APPL_BMS_MC33771(void)
{

	G_u8_Run_MC33771_Cnt = 4;
}
#endif 

